package com.tdwyz.fictionmanage.service;

import com.tdwyz.fictionmanage.mapper.FileUploadMapper;
import com.tdwyz.fictionmanage.pojo.FileUpload;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 14543
 * @version 1.0
 * @description: TODO
 * @date 2024/7/28 10:22
 */
@Service
public class FileUploadService {

    @Autowired
    private FileUploadMapper fileUploadMapper;

    /**
     * 将文件上传到文件表
     * @param fileUpload
     */
    public void add(FileUpload fileUpload) {
        fileUploadMapper.add(fileUpload);
    }

}
